#!/bin/bash
# Zaitan Module - recordmydesktop Install
# Zaitan Team <http://code.google.com/p/zaitan/>

RMOD_ENGINE='1.0'
RMOD_CATEGORY='Software'
RMOD_SUBCATEGORY='Multimidia'
RMOD_NAME='recordmydesktop'
RMOD_AUTHOR='Zaitan Team'
RMOD_VERSION='0.3.6'
RMOD_DESCRIPTION='Installs recordmydesktop'
RMOD_UPDATE_URL='http://code.google.com/p/zaitan/'

# Install recordmydesktop


echo Running $RMOD_NAME...
#/usr/lib/zaitan/modulo/mod-checkInstall

apt-get updateapt-get -f install


cd /usr/share/zaitan
wget -c http://mirrors.dotsrc.org/getdeb/re/recordmydesktop_0.3.6-1~getdeb1_i386.deb
dpkg -i recordmydesktop_0.3.6-1~getdeb1_i386.deb

apt-get -f install

wget -c http://mirrors.dotsrc.org/getdeb/gt/gtk-recordmydesktop_0.3.6-1~getdeb1_all.deb
dpkg -i gtk-recordmydesktop_0.3.6-1~getdeb1_all.deb
apt-get -f install


sleep 2
echo $RMOD_NAME Finibashed...

##Logs
echo $RMOD_NAME-$RMOD_VERSION | tee -a /usr/share/zaitan/logs
/usr/lib/zaitan/modulo/mod-logs
##

exit 0

